package com.gw.service;

import com.gw.common.model.Admin;

public class AdminService {
	private Admin dao=Admin.dao;
	public Admin checkLogin(String userName){
		return dao.findFirstBy("name=?", userName);
	}

}
